/*
 * Karvaly.DOM
 * depends: Karvaly
 */
Karvaly.DOM = (function() {

	var DOM = {
			removeNode : function(node) {
				return node.parentNode.removeChild(node);
			},
			clearNode : function(node) {
				while (node.firstChild) {
					node.removeChild(node.firstChild);
				}
			}
	};

	return DOM;
})();
